package com.example.ycdyus.dailyfruit.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ycdyus on 2015/10/22.
 */
public class Main implements Serializable{

    /**
     * ptype : 0
     * data : {"id":"30831","ctime":"1445485812","description":"#【重阳节话题】九九重阳，幸福久久#","photo":[""],"type":"0","ptype":"0","content":null,"uid":"4250990","title":"","photo_arr":[""],"images_thumbs":[""],"images_thumbs_arr":[""],"username":"1382****928","userrank":"2","userface":"http://cdn.fruitday.com/up_images/default_userpic.png","topic_id":"32","topic_title":"【重阳节话题】九九重阳，幸福久久","share_url":"http://m.fruitday.com/sns/fruit/30831","stime":1445489024,"comment_num":0,"worth_num":0,"is_liked":0,"can_delete":false}
     */

    private String ptype;
    private DataEntity data;

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getPtype() {
        return ptype;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity implements Serializable{
        /**
         * id : 30831
         * ctime : 1445485812
         * description : #【重阳节话题】九九重阳，幸福久久#
         * photo : [""]
         * type : 0
         * ptype : 0
         * content : null
         * uid : 4250990
         * title :
         * photo_arr : [""]
         * images_thumbs : [""]
         * images_thumbs_arr : [""]
         * username : 1382****928
         * userrank : 2
         * userface : http://cdn.fruitday.com/up_images/default_userpic.png
         * topic_id : 32
         * topic_title : 【重阳节话题】九九重阳，幸福久久
         * share_url : http://m.fruitday.com/sns/fruit/30831
         * stime : 1445489024
         * comment_num : 0
         * worth_num : 0
         * is_liked : 0
         * can_delete : false
         */

        private String id;
        private String ctime;
        private String description;
        private String type;
        private String ptype;
        private Object content;
        private String uid;
        private String title;
        private String username;
        private String userrank;
        private String userface;
        private String topic_id;
        private String topic_title;
        private String share_url;
        private int stime;
        private int comment_num;
        private int worth_num;
        private int is_liked;
        private boolean can_delete;
        private List<String> photo;
        private List<String> photo_arr;
        private List<String> images_thumbs;
        private List<String> images_thumbs_arr;

        public void setId(String id) {
            this.id = id;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setPtype(String ptype) {
            this.ptype = ptype;
        }

        public void setContent(Object content) {
            this.content = content;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public void setUserrank(String userrank) {
            this.userrank = userrank;
        }

        public void setUserface(String userface) {
            this.userface = userface;
        }

        public void setTopic_id(String topic_id) {
            this.topic_id = topic_id;
        }

        public void setTopic_title(String topic_title) {
            this.topic_title = topic_title;
        }

        public void setShare_url(String share_url) {
            this.share_url = share_url;
        }

        public void setStime(int stime) {
            this.stime = stime;
        }

        public void setComment_num(int comment_num) {
            this.comment_num = comment_num;
        }

        public void setWorth_num(int worth_num) {
            this.worth_num = worth_num;
        }

        public void setIs_liked(int is_liked) {
            this.is_liked = is_liked;
        }

        public void setCan_delete(boolean can_delete) {
            this.can_delete = can_delete;
        }

        public void setPhoto(List<String> photo) {
            this.photo = photo;
        }

        public void setPhoto_arr(List<String> photo_arr) {
            this.photo_arr = photo_arr;
        }

        public void setImages_thumbs(List<String> images_thumbs) {
            this.images_thumbs = images_thumbs;
        }

        public void setImages_thumbs_arr(List<String> images_thumbs_arr) {
            this.images_thumbs_arr = images_thumbs_arr;
        }

        public String getId() {
            return id;
        }

        public String getCtime() {
            return ctime;
        }

        public String getDescription() {
            return description;
        }

        public String getType() {
            return type;
        }

        public String getPtype() {
            return ptype;
        }

        public Object getContent() {
            return content;
        }

        public String getUid() {
            return uid;
        }

        public String getTitle() {
            return title;
        }

        public String getUsername() {
            return username;
        }

        public String getUserrank() {
            return userrank;
        }

        public String getUserface() {
            return userface;
        }

        public String getTopic_id() {
            return topic_id;
        }

        public String getTopic_title() {
            return topic_title;
        }

        public String getShare_url() {
            return share_url;
        }

        public int getStime() {
            return stime;
        }

        public int getComment_num() {
            return comment_num;
        }

        public int getWorth_num() {
            return worth_num;
        }

        public int getIs_liked() {
            return is_liked;
        }

        public boolean getCan_delete() {
            return can_delete;
        }

        public List<String> getPhoto() {
            return photo;
        }

        public List<String> getPhoto_arr() {
            return photo_arr;
        }

        public List<String> getImages_thumbs() {
            return images_thumbs;
        }

        public List<String> getImages_thumbs_arr() {
            return images_thumbs_arr;
        }
    }
}
